package com.javasm.mb_store_api_final.sys_control.usercontrol.authority.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.javasm.mb_store_api_final.sys_control.usercontrol.authority.service.AuthorityService;
import com.javasm.mb_store_api_final.sys_control.usercontrol.authority.dao.AuthorityDao;
import com.javasm.mb_store_api_final.sys_control.usercontrol.authority.entity.Authority;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * (Authority)表服务实现类
 *
 * @author makejava
 * @since 2024-08-05 15:01:14
 */
@Service("authorityService")
public class AuthorityServiceImpl extends ServiceImpl<AuthorityDao, Authority> implements AuthorityService {

    @Resource
    private AuthorityDao authorityDao;
    @Override
    public List<Authority> listAuthorityByPosId(String posId) {
       List<Authority> list = authorityDao.listAuthorityByPosId(posId);
        return list;
    }
}

